Skip to content

fix: make prepare script Windows-compatible (remove yarn enforcement)#1

Open
Cynrode wants to merge 1 commit intostoatchat:mainfrom
Cynrode:fix/windows-prepare-build
Open

fix: make prepare script Windows-compatible (remove yarn enforcement)#1
Cynrode wants to merge 1 commit intostoatchat:mainfrom
Cynrode:fix/windows-prepare-build

Conversation

@Cynrode
Copy link
Copy Markdown

@Cynrode Cynrode commented Feb 28, 2026

Summary

Fixes Windows build failure when installing with pnpm.

The project enforced yarn via the packageManager field, which caused prepare to fail when running pnpm install.

This change removes the yarn enforcement so the package can build correctly with pnpm on Windows.

Why

Without this change:

  • pnpm install fails during prepare
  • dist folders are never generated
  • Vite cannot resolve dependencies

This allows Windows users to install and run the web client without WSL.

Tested

  • Windows 11
  • Node 20+
  • pnpm 10.10.0
  • Vite dev server launches successfully

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant